#!/usr/bin/python

def test(in_list):
	l = len(in_list)
	for i in range(0, l, 2):
		in_list.remove(i)

list = []
for i in range(0, 10):
	list.append(i)
for v in list:
	print v

print 
test(list)

for v in list:
	print v
